@import com.mgfireworks.mgplatform.mgadmin.sys.model.Dictionary
@extends("/form_template")
@args Boolean isEdit
@args Dictionary dictionary
@{
	if(dictionary==null){
		dictionary=new Dictionary();
	}
}
<div class="row form-horizontal form-label-left">
   <div class="col-md-12 col-sm-12 col-xs-12">
     <div class="x_panel">
       <div class="x_title">
         <h2>@if(isEdit){修改}else{添加}销售级别</h2>
         <div class="clearfix"></div>
       </div>
       <div class="x_content">
       	   <input type="hidden" name="dicId" value="@dictionary.getDicId()">
	       <div class="form-group">
	         <label class="control-label col-md-3 col-sm-3 col-xs-12" for="dicValue">销售级别<span class="required">*</span>
	         </label>
	         <div class="col-md-6 col-sm-6 col-xs-12">
	           <input type="text" id="dicValue" name="dicValue" value="@dictionary.getDicValue()" placeholder="请输入销售级别" required="required" @if(isEdit&&false){readonly="readonly"} class="form-control col-md-7 col-xs-12">
	         </div>
	       </div>
	       <div class="form-group">
	         <label class="control-label col-md-3 col-sm-3 col-xs-12" for="dicName">销售级别名称<span class="required">*</span>
	         </label>
	         <div class="col-md-6 col-sm-6 col-xs-12">
	           <input type="text" id="dicName" name="dicName" value="@dictionary.getDicName()" placeholder="请输入销售级别名称" required="required" @if(isEdit&&false){readonly="readonly"} class="form-control col-md-7 col-xs-12">
	         </div>
	       </div>
	       <div class="form-group">
	         <label class="control-label col-md-3 col-sm-3 col-xs-12" for="description">描述
	         </label>
	         <div class="col-md-6 col-sm-6 col-xs-12">
	           <input type="text" id="description" name="description" value="@dictionary.getDescription()" placeholder="请输入描述"  @if(isEdit&&false){readonly="readonly"} class="form-control col-md-7 col-xs-12">
	         </div>
	       </div>
       </div>
     </div>
   </div>
</div>